package com.nutricia.common.api.request;

/**
 * 分页查询基础类
 *
 * @author: huangsheng
 * @date: 2017/10/20
 */
public class PageBaseRequest  {

    /**
     * 展现页的下标，从1开始
     */
    private int pageIndex = 1;

    /**
     * 每页显示数据的长度
     */
    private int pageSize = 10;

    /**
     * Gets page index.
     *
     * @return the page index
     */
    public int getPageIndex() {
        return pageIndex;
    }

    /**
     * Sets page index.
     *
     * @param pageIndex the page index
     */
    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    /**
     * Gets page size.
     *
     * @return the page size
     */
    public int getPageSize() {
        return pageSize;
    }

    /**
     * Sets page size.
     *
     * @param pageSize the page size
     */
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
